<include file="Public:Manage_header" />
<div id="path">
	<span>现在的位置：散文吧 >> 管理后台</span>
</div>
<div id="main">
    <include file="Public:Manage_sidebar" />
    <!--上面是div#sidebar内容区域-->
    <div id="content" class="article">
    	<dl id="dl_content">
        <dd>
        	<ul id="content_menu">
            <li><a href="{:U(__URL__.'/article')}">文章列表</a></li>
            <li class="li_on"><a href="{:U(__URL__.'/article_post')}">发文章</a></li>
            <li><a href="{:U(__URL__.'/article_draft')}">草稿箱</a></li>
            <li><a href="{:U(__URL__.'/article_nopass')}">未通过</a></li>
            </ul>
        </dd>
        <dd>
        	<script language="javascript" type="text/javascript" src="../Public/image/editor/editor_function.js"></script>
        	<script type="text/javascript">
			$(function(){
				$("#article_post_form").submit(function(obj){
					uploadEdit(obj);
				});
				$("#keywords").blur(function(){
					$.post('/user/manage/checkKeywords/',{keywords:$(this).val()},function(data){
						$("#keywords").val(data);
					});
				});
			});
			</script>
        	<div id="article_post" class="article_form">
            <form action="/user/manage/article_save" id="article_post_form" method="post">
            	<p>
                	<label>文章标题</label>
                    <select name="channel">
                      <option value="1">散文</option>
                      <option value="17">诗歌</option>
                      <option value="18">小说</option>
                      <option value="19">杂文</option>
                      <option value="20">随笔</option>
                    </select>&nbsp;
                    <input name="title" id="title" type="text" class="input_class" value="{$article_info['Archives']['title']}" style="width:340px;" />
                    <span class="attention">请注意，标题请不要超出</span>
                </p>
                <p>
                    <label>关键词 (栏目)</label>
                    <input name="keywords" id="keywords" type="text" value="{$article_info['Archives']['keywords']}" class="input_class" />
                    <span class="attention">新版关键词的意思相当于"栏目"</span>
                    
                </p>
                <p>
                	<br />
                    <textarea name="body" id="uchome-ttHtmlEditor" style="display:none;">{$article_info['Addonarticle']['body']}</textarea><iframe src="../Public/editor.php?charset=utf-8&allowhtml=1" name="uchome-ifrHtmlEditor" id="uchome-ifrHtmlEditor" scrolling="no" border="0" frameborder="0" style="width:650px;border: 1px solid #C5C5C5;" height="350"></iframe>
                </p>
                <p>
                	<br />
                	<label>内容简介</label>
                    <textarea name="description" id="description">{$article_info['Archives']['description']}</textarea>
                    
                </p>
                <p style="margin-top:8px;">
                	<input type="submit" value="提交发布" />&nbsp;&nbsp;<input type="reset" value="重填" />
                </p>
                <input name="id" type="hidden" value="{$article_info.id}" />
            </form>
            </div>
        </dd>
        </dl>
    </div>
</div>
<include file="Public:Manage_footer" />